print("");

print("请输入成绩:\n");
str = input();
score = int(str);
if score >= 90:
    print("优秀");
elif score >=80:
    print("良好");
elif score >= 60:
    print("及格");
else:
    print("不及格");


